home *** CD-ROM | disk | FTP | other *** search
/ Aminet 34 / Aminet 34 (2000)(Schatztruhe)[!][Dec 1999].iso / Aminet / util / misc / StripHunks.lha / StripHunks.readme < prev    next >
Encoding:
Text File  |  1999-10-09  |  2.9 KB  |  67 lines

  1. Short:    V1.8 CLI tool to strip useless hunks
  2. Uploader: stoecker@amigaworld.com (Dirk Stoecker)
  3. Author:   stoecker@amigaworld.com (Dirk Stoecker)
  4. Type:     util/misc
  5. Version:  1.8
  6.  
  7. This program removes most time useless parts of executable files:
  8.   - HUNK_DEBUG hunks
  9.   - HUNK_SYMBL hunks
  10.   - HUNK_NAME hunks
  11.   - empty HUNK_RELOC32, HUNK_DREL32 and HUNK_RELOC32SHORT
  12.   - empty DATA/CODE/BSS hunks, when it is the last hunk
  13.  
  14. When there are empty hunks at other places than the last one, you get a
  15. short information.
  16.  
  17. Use it with care! Sometimes the files will not work after stripping these
  18. hunks, so test it.
  19.  
  20. SYNOPSIS:  StripHunks FILES/M,ONLYSHOW/S,ALL/S,SORT=SORTRELOC/S,NOSTRIP/S,
  21.                       NSE=NOSTRIPEMPTY/S,NSN=NOSTRIPNAME/S,
  22.                       NSD=NOSTRIPDEBUG/S,NSS=NOSTRIPSYMBOL/S,
  23.                       NSR=NOSTRIPRELOC/S,SBW=SORTBACKWARDS/S:
  24.  
  25. FILES:      The file/files which should be processed. Wildcards are supported.
  26. ONLYSHOW: The program does not save the stripped files back to disk.
  27. ALL:      Scan sub directories as well.
  28. SORT:     Sorts relocation entries from lower to higher values. This may
  29.           save space on older programs, as they sometimes have splitted
  30.           relocation entries.
  31. NOSTRIP:  Disables all stripping.
  32. NSE:      EMPTY hunks are not stripped.
  33. NSN:      NAME hunks are not stripped.
  34. NSD:      DEBUG hunks are not stripped.
  35. NSS:      SYMBOL hunks are not stripped.
  36. NSR:      RELOC information is not stripped.
  37. SBW:      With SORT keyword reloc is sorted from highest to lowest number.
  38.  
  39. Files with unknown structure show a warning and are not processed. Non
  40. executable files are ignored.
  41.  
  42. NOTE: It may destroy files to strip EMPTY, DEBUG or SYMBOL hunks, but it
  43. should work for lot of files. I do not know files, where stripping NAME
  44. hunks or relocation information caused errors.
  45. Sorting the relocation entries should not produce any problems as well,
  46. but it is useful to compare two files byte for byte, as some crunchers
  47. sort relocation information as well.
  48.  
  49. Please report me bugs, comments, suggestions and problems. If possible
  50. write a little mail if you use the program sometimes. If there are some
  51. Enforcer hits or other problems report them as good as possible.
  52.  
  53. Use it as you want, but WITHOUT ANY WARRANTY!
  54.  
  55. Please contact me:
  56.  
  57. ************************************************************************
  58. * snail-mail:                  * e-mail:                               *
  59. *   Dirk Stoecker              *   stoecker@amigaworld.com             *
  60. *   Geschwister-Scholl-Str. 10 *   dstoecker@gmx.de                    *
  61. *   01877 Bischofswerda        * world wide web:                       *
  62. *   GERMANY                    *   http://home.pages.de/~Gremlin/      *
  63. * phone:                       * pgp key:                              *
  64. *   GERMANY +49 (0)3594/706666 *   get with finger or from WWW pages   *
  65. ************************************************************************
  66.  
  67.